package com.ruoyi.common.pojo;

import java.io.Serializable;

/**
 * Created with IntelliJ IDEA.
 * User: feil.long
 * Date: 2015/3/17
 * Time: 16:07
 * 乘机人信息
 */
public class AFarePassenger implements Serializable {

    private static final long serialVersionUID = 3586032236749471577L;
    /**
     * 乘机人姓名
     */
    private String name;
    /**
     * 证件类型
     */
    private String cardType;

    /**
     * 证件号码
     */
    private String cardNo;

    /**
     * 乘客类型
     * o成人 1儿童
     */
    private String type;

    /**
     * 出生日期
     */
    private String birthday;

    /**
     * M/F性别字段
     */
    private String sexType;

    /**
     * 最终售价, 只是机票的价格，
     */
    private double price;

    /**手机国号 */
    private int mobCountryCode = 86;

    /**手机号 */
    private String contactMob;

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getSexType() {
        return sexType;
    }

    public void setSexType(String sexType) {
        this.sexType = sexType;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCardType() {
        return cardType;
    }

    public void setCardType(String cardType) {
        this.cardType = cardType;
    }

    public String getCardNo() {
        return cardNo;
    }

    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public int getMobCountryCode() {
        return mobCountryCode;
    }

    public void setMobCountryCode(int mobCountryCode) {
        this.mobCountryCode = mobCountryCode;
    }

    public String getContactMob() {
        return contactMob;
    }

    public void setContactMob(String contactMob) {
        this.contactMob = contactMob;
    }

    @Override
    public String toString() {
        return "AFarePassenger{" +
                "name='" + name + '\'' +
                ", cardType='" + cardType + '\'' +
                ", cardNo='" + cardNo + '\'' +
                ", type='" + type + '\'' +
                ", birthday='" + birthday + '\'' +
                ", sexType='" + sexType + '\'' +
                ", price=" + price +
                ", mobCountryCode=" + mobCountryCode +
                ", contactMob='" + contactMob + '\'' +
                '}';
    }
}
